package qx.hyj.petrescue.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Schema(description = "查询条件")
public class ConditionParam<T> {
    @Schema(description = "精确查询条件")
    private T condition;

    @Schema(description = "模糊查询条件")
    private T filter;

    @Schema(description = "升序查询字段")
    private String asc;

    @Schema(description = "降序查询字段")
    private String desc;


}